@charset 'utf-8';

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

body {
  font-size: 16px;
}

ul,
li {
  list-style: none;
}

a,
u {
  text-decoration: none;
  color: inherit;
}

b,
strong {
  font-weight: normal;
}

em,
i {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 16px;
  font-weight: normal;
}

img {
  display: block;
}



.center {
  width: 990px;
  margin: 0 auto;
}

header {

  .center {
    background-color: #F5F5F5;
    font-size: 12px;
    line-height: 30px;
    display: flex;
    justify-content: space-between;

    a {
      padding-left: 10px;
      padding-right: 10px;

      &:hover {
        color: red;
        text-decoration: none;
      }
    }

    .right {
      display: flex;

      .show1 {
        position: relative;

        &:hover {
          background-color: rgb(255, 255, 255);
        }

        div {
          width: 120px;
          background-color: rgb(255, 255, 255);
          position: absolute;
          display: none;
        }

        &:hover div {
          display: block;
        }
      }



      .show2 {
        position: relative;

        &:hover {
          background-color: rgb(255, 255, 255);
        }

        div {
          width: 100px;
          background-color: rgb(255, 255, 255);
          position: absolute;
          padding-left: 10px;
          display: none;
        }

        &:hover div {
          display: block;
        }
      }
    }
  }
}

main {
  .center {
    .top {
      display: flex;

      .log {
        padding-top: 20px;
      }

      h1 {
        font-size: 24px;
        padding-left: 8px;
        padding-top: 6px;
      }
    }

    form {
      width: 680px;
      height: 305px;
      margin: 150px auto 20px;
      position: relative;

      .box1 {
        margin: 0 auto;
        width: 380px;
        display: flex;
        justify-content: space-between;
        position: relative;

        .inputphone {
          line-height: 36px;
          font-weight: normal;
        }

        >input {
          width: 150px;
          height: 36px;
          position: absolute;
          right: 0;
          border-left: 0;
          border: 1px 1px 1px 0 solid black;
          border-radius: 0 5px 5px 0;
        }

        select {
          width: 150px;
          height: 36px;
          border-radius: 5px 0 0 5px;
          position: absolute;
          left: 80px;

          option {
            font-weight: 700;
          }

        }
      }

      .box2 {
        margin: 0 auto;
        width: 380px;
        padding-top: 15px;
        display: flex;
        justify-content: space-between;
        position: relative;
        .inputcode {
          line-height: 36px;
          font-weight: normal;
          padding-left: 15px;
        }

        >input {
          width: 300px;
          height: 36px;
          border-radius: 5px;
        }

        >a{
          width: 120px;
          height: 30px;
          font-size: 14px;
          text-align: center;
          line-height: 36px;
          margin-top: 2px;
          margin-right: 1px;
          color: red;
          position: absolute;
          right: 0px;
          background-color: white;
          border: 0;
          &:hover{
            text-decoration: none;
          }
        }
      }

      .box3 {
        margin: 0 auto;
        width: 380px;
        margin-top: 40px;
        position: absolute;
        right: 90px;

        // right: 0;
        // position: relative;
        .btn {
          width: 320px;
          height: 36px;
          // position: absolute;
          // right: 0;
          background: linear-gradient(to right, #FFCC80,#FFA880);
        }
      }

      .box4 {
        width: 310px;
        height: 39;
        margin: 100px auto;
        // position: absolute;
        // bottom: 40px;
        // right: 0;

        >label {
          font-size: 13px;

        }

        >a:hover {
          text-decoration: none;
        }
      }

      .box5 {
        width: 380px;
        height: 10px;
        position: absolute;
        bottom: 0;
        right: 0;
        
        font-size: 13px;
        color: red;
      }
    }

  }
}

footer {
  .center {
    overflow: hidden;
    >ul {
      height: 40px;
      border-top: 1px solid gray;

      li {
        float: left;
        margin-top: 10px;
        padding-left: 8px;
        padding-right: 8px;
        border-right: 1px solid gray;

        a {
          font-size: 12px;

          &:hover {
            color: red;
            text-decoration: none;
          }
        }
      }
    }
    >.buttom{
      border-top: 1px solid gray;
      .top{
        width: 100%;
        a{
          font-size: 12px;
          padding-right: 5px;
          &:hover{
            color: red;
            text-decoration: none;
          }
        }
        span{
          font-size: 12px;
          padding-left: 40px;
        }
      }
      .under{
        height: 30px;
        ul{
          li{
            float: left;
            font-size: 12px;
            border-right: 1px solid gray;
            padding-right: 5px;
            a:hover{
              color: red;
              text-decoration: none;
            }
          }
          .text{
            padding-left: 5px;
          }
          .text2{
            padding-left: 5px;
            border-right: 0;
          }
        }
      }
    }
  }
}